<div class="center-block w-xl w-auto-xs m-b-lg login_content">
  <h1>海量通DSP服务平台</h1>
  <div class="login-tab">
    <div class="tab-main">
      <div class="tab-item">
<h1>注册</h1>
<div class="row">
  <div class="col-md-6 col-md-offset-3">
    <%= form_for(@user) do |f| %>
        <%= render 'shared/error_messages', object: @user%>
        <%= f.label '登录名' %>
        <%= f.text_field :username %>
        <%= f.label 'name' %>
        <%= f.text_field :name %>
        <%= f.label 'email' %>
        <%= f.email_field :email %>
        <%= f.label '密码' %>
        <%= f.password_field :password %>
        <%= f.label '再次确认密码'  %>
        <%= f.password_field :password_confirmation %>
        <%= f.submit "注册", class: "btn btn-primary" %>
        <p>已有账户? <%= link_to "登录", login_path %></p>
    <% end %>
  </div>
</div>
      </div>

    </div>
  </div>
  <div class="login-bottom-title">
    <strong class="ng-binding">海量通</strong> © 2016-2017
  </div>
</div>